<center>
<h2>Mywiki: Edit User Privileges</h2>

<% form_for :usr, :url => { :action => "update", :id => @usr } do |f| %>
<table class="mywikiview">
  <tr> <td> User </td> <td> <%= f.text_field :user %></td> </tr>
  <tr> <td> Create Privileges </td> <td> <%= f.text_field :c_priv  %></td> </tr>
  <tr> <td> Edit Privileges </td> <td><%= f.text_field :e_priv %></td> </tr>
  <tr> <td> Delete Privileges </td> <td> <%= f.text_field :d_priv %></td> </tr>
  <tr> <td> Read Privileges </td> <td><%= f.text_field :r_priv%></td> </tr>
  <tr> <td colspan="2" align="center"> <%= submit_tag "update" %> </td> </tr>
</table>
</center>
<% end %>
